<?php
	/**
	 *	KLF Framework
	 *
	 *	Written by Kristian Oye <kristianoye@gmail.com> on Oct 22, 2011
	 *	Copyright (C) 2010-2011
	 */
	namespace KLF\System\Config
	{
		/**
		 *  Class KConnectionString
		 *
		 *  Contains a single database connection string.
		 *
		 *  @package KLF\System\Config
		 *  @access public
		 *  @author Kristian Oye <kristianoye@gmail.com>
		 *  @since 0.1
		 *  
		 *  @method KConnectionString NewInstance
		 *  
		 *  @property string DatabaseDSN The database DSN
		 *  @property string DatabaseUsername The username used to connect to the database.
		 *  @property string DatabasePassword The password used to connect to the database.
		 *  @property array Options The options used to connect to the database.
		 */
		class KConnectionString
		{
			protected $_propDatabaseDSN;
			
			protected $_propDatabaseUsername;
			
			protected $_propDatabasePassword;
			
			protected $_propDatabaseOptions;
			
			public function __construct($dsn, $uname, $pwd, $opt = array())
			{
				$this->_propDatabaseDSN = $dsn;
				$this->_propDatabaseUsername = $uname;
				$this->_propDatabasePassword = $pwd;
				$this->_propDatabaseOptions = $opt;
			}
		}
	}